/**
 * @param {number[]} numbers
 * @return {number}
 */
var minArray = function(numbers) {
    let arr = numbers.sort((a, b) => {return a - b})
    return arr[0]


};
let numbers = [3,4,5,1,2]
console.log(minArray(numbers))